package com.huan.springcloud.mongo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LetterExcel {

    @ExcelProperty("序号")
    private String id;
    @ExcelProperty("用户id")
    private Integer userid;
    @ExcelProperty("昵称")
    private String nickname;
    @ExcelProperty("标题")
    private String title;
    @ExcelProperty("内容")
    private String content;
    @ExcelProperty("创建时间")
    private String ctime;
    @ExcelProperty("更新时间")
    private String stime;
}
